package com.campus.common.exception;

public enum VerifyCodeExceptionCode {
    SEND_CODE_REPEAT_ERROR("验证码重复", "验证码已发送"),
    SEND_CODE_EMAIL_ERROR("邮箱验证码发送失败", "验证码发送失败"),
    VERIFY_CODE_ERROR("验证码错误！","验证码错误！")
    ;
    private String code;
    private String desc;
    public String getCode() {
        return code;
    }

    VerifyCodeExceptionCode(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
